<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<meta charset="UTF-8"/>
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<!--    <script src="https://cdn.staticfile.org/jquery/1.10.2/jquery.min.js"></script>-->
<link rel="stylesheet" href="https://www.layuicdn.com/layui-v2.5.4/css/layui.css" media="all">
<script src="https://www.layuicdn.com/layui-v2.5.4/layui.js" charset="utf-8"></script>
<script src="https://cdn.staticfile.org/jquery/1.10.2/jquery.min.js"></script>
<title></title>
</head>
<body>
<form class="layui-form" action="/goodsinfo/update">
    <div class="layui-form-item">
        <div class="layui-input-inline">
            产品序号 <input type="text" name="goodsId" lay-verify="required" readonly="true" autocomplete="off"
                        class="layui-input" th:value="*{goodsInfo.goodsId}">
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-input-inline">
            商品编号<input type="text" name="goodsTypeId" lay-verify="required" readonly="true" autocomplete="off"
                       class="layui-input" th:value="*{goodsInfo.goodsTypeId}">
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-input-inline">
            库存<input type="text" name="stock" lay-verify="required" lay-reqtext="請輸入库存" autocomplete="off"
                     placeholder="请输入物品編號" class="layui-input" th:value="*{goodsInfo.stock}">
        </div>
    </div>

    <div class="layui-form-item">
        <div class="layui-input-inline">
            <button type="submit" class="layui-btn" lay-submit="" lay-filter="demo1">修改</button>
            <button type="reset" class="layui-btn layui-btn-primary">重置</button>
        </div>
    </div>
    <div><input type="hidden" name="id" th:value="*{goodsInfo.id}"></div>
</form>
</body>
</html>